<template>
  <tabbar>
    <tabbar-item link="/home" active_color="deeppink">
      <img slot="icon" src="~assets/img/tabbar/home.svg" />
      <img slot="icon_active" src="~assets/img/tabbar/home_active.svg" />
      <div slot="icon_text">首页</div>
    </tabbar-item>
    <tabbar-item link="/category" active_color="deeppink">
      <img slot="icon" src="~assets/img/tabbar/category.svg" />
      <img slot="icon_active" src="~assets/img/tabbar/category_active.svg" />
      <div slot="icon_text">分类</div>
    </tabbar-item>
    <tabbar-item link="/cart" active_color="deeppink">
      <img slot="icon" src="~assets/img/tabbar/shopcart.svg" />
      <img slot="icon_active" src="~assets/img/tabbar/shopcart_active.svg" />
      <div slot="icon_text">购物车</div>
    </tabbar-item>
    <tabbar-item link="/profile" active_color="deeppink">
      <img slot="icon" src="~assets/img/tabbar/profile.svg" />
      <img slot="icon_active" src="~assets/img/tabbar/profile_active.svg" />
      <div slot="icon_text">个人</div>
    </tabbar-item>
  </tabbar>
</template>

<script>
import Tabbar from "components/common/tabbar/Tabbar.vue";
import TabbarItem from "components/common/tabbar/TabbarItem.vue";
export default {
  name: "MainTabbar",
  components: {
    Tabbar,
    TabbarItem,
  },
};
</script>

<style scoped>
</style>
